package com.example.service.wechat;

import com.example.pojo.wechat.OpenId_SessionKey;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;

/**
 * @ClassName WxAuthenticService
 * @Description: com.example.service.wechat---微信小程序认证服务接口
 * @Auther: xiwd
 * @Date: 2022/4/18 - 04 - 18 - 14:31
 * @version: 1.0
 */
public interface WxAuthenticService {
    //properties

    //methods

    /**
     * 获取微信小程序用户授权Accesstoken
     * @return
     */
    public abstract String getAccessToken();

    /**
     * 根据code获取OpenId_SessionKey信息
     * @param code
     * @return
     */
    public abstract OpenId_SessionKey getOpenId_SessionKey(String code);

}
